@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?xi2iq');
    src:  url('../fonts/icomoon.eot?xi2iq#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?xi2iq') format('truetype'),
      url('../fonts/icomoon.woff?xi2iq') format('woff'),
      url('../fonts/icomoon.svg?xi2iq#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei,hei;
    color: #000;
    background-color: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    height: 2000px;
}
 a {
     text-decoration: none;
     color: #333;
 }
.search-index {
display: flex;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 44px;
max-width: 540px;
min-width: 320px;
background-color: #f6f6f6;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
/* background-color: pink; */
}
div {
    box-sizing: border-box;
}
.search {
    position: relative;
    background-color: #fff;
    height: 26px;
    line-height: 26px;
    border: 1px solid #ccc;
    flex: 1;
    color: #ccc;
    padding-left: 30px;
    margin: 8px 10px;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search::before {
    position: absolute;
    top: 2px;
    left: 10px;
    content: '\e909';
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
    font-family: 'icomoon';

}
.user {
width: 44px;
height: 44px;
/* background-color: purple; */
font-size: 12px;
text-align: center;
}
.user::before {
    display: block;
    width: 20px;
    height: 20px;
    font-family: 'icomoon';
    content:"\e902";
    font-size: 18px;
    margin: 2px auto;
}
.focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
.local-nav {
display: flex;
height: 66px;
background-color: #fff;
border-radius: 8px;
margin: 3px 4px;
}
.local-nav  li {
    flex: 1;
}
.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-icon {
    margin-top: 8px;
    width: 32px;
    height: 32px;
    background-color: pink;
    background:url("../images/1.png") no-repeat;
    background-position: 0 -70px;
    background-size: 200px auto;
} 
.local-icon1 {
    margin-top: 8px;
    width: 32px;
    height: 32px;
    background-color: pink;
    background:url("../images/1.png") no-repeat;
    background-position: -40px -70px;
    background-size: 200px auto;
} 
.local-icon2 {
    margin-top: 8px;
    width: 32px;
    height: 32px;
    background-color: pink;
    background:url("../images/1.png") no-repeat;
    background-position: -80px -70px;
    background-size: 200px auto;
} 
.local-icon3 {
    margin-top: 8px;
    width: 32px;
    height: 32px;
    background-color: pink;
    background:url("../images/1.png") no-repeat;
    background-position: -120px -70px;
    background-size: 200px auto;
} 
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-box {
    display: flex;
    height: 84px;
    background-color: pink;
}
.nav-box:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
flex: 1;
display: flex;
flex-direction: column;
}
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
/* .nav-items:nth-child(n+2) {
    display: flex;
    flex-direction: column;
} */
.nav-items a {
    flex:1;
    text-align: center;
    line-height: 42px;
    color: #fff;
    font-size: 14px;
    text-shadow: 2px 2px rgba(0, 0, 0, .2);
}
.nav-items:nth-child(n+2) a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
section {
    display: flex;
    flex-wrap: wrap;
    height: 184px;
    background-color:#fff;
    border-radius: 8px;
    overflow: hidden;
    background: -webkit-linear-gradient(left,pink,orange);
}
section div {
    width: 20%;
    height: 58px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
   
    /* background-color: pink; */
}
section div:nth-child(n+11) {
    border-bottom: 0;
}
section div:nth-child(5n) {
    border-right: 0;
}
section div a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
}

.box {
    border: 0;
    margin-top: 5px;
    width: 28px;
    height: 28px;
    background: url("../images/nav.png") no-repeat 0 -85px;
    background-size: 28px auto;
}
section div:nth-child(2) .box {
    background-position: 0 -170px;
}
section div:nth-child(3) .box {
    background-position: 0 -364px;
}section div:nth-child(4) .box {
    background-position: 0 -141px;
}
section div:nth-child(5) .box {
    background-position: 0 -28px;
}
section div:nth-child(6) .box {
    background-position: 0 -338px;
}
section div:nth-child(7) .box {
    background-position: 0 -55px;
}section div:nth-child(8) .box {
    background-position: 0 -224px;
}section div:nth-child(9) .box {
    background-position: 0 -197px;
}section div:nth-child(10) .box {
    background-position: 0 -113px;
}section div:nth-child(11) .box {
    background-position: 0 -2px;
}section div:nth-child(12) .box {
    background-position: 0 -281px;
}section div:nth-child(13) .box {
    background-position: 0 -255px;
}section div:nth-child(14) .box {
    background-position: 0 -394px;
}section div:nth-child(15) .box {
    background-position: 0 -310px;
}
.item {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    box-shadow: 2px 2px rgba(0, 0, 0, .2);
    background: -webkit-linear-gradient(left,green,purple);
}
.item li {
    flex: 20%;
}
.item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}
.icon {
    margin-top: 4px;
    width: 28px;
    height: 28px;
    background-color: pink;
    background: url("../images/nav.png") no-repeat 0 -85px;
    background-size: 28px auto;
}
.title {
    border-top: 1px solid #bbb;
    background-color: #fff;
    border-radius: 8px;
    margin: 4px;
}
.title-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.title-hd h2 {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.title-hd h2::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    width: 73px;
    height: 20px;
    background-color: pink;
    background: url("../images/title.png") no-repeat;
    background-size: 73px 20px;
}
.more {
    position: absolute;
    top: 0;
    right:0;
    background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 10px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.more::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 10px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.row {
    display: flex;
}
.row a {
    border-bottom: 1px solid #eee;
    flex: 1;
}
.row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.row a img {
    vertical-align: middle;
    width: 100%;
}
